package com.xvyy.tingshu.order.adapter;

import com.xvyy.tingshu.vo.order.OrderInfoVo;
import com.xvyy.tingshu.vo.order.TradeVo;

/**
 * ClassName: OrderDealTypeAdapter
 * Package: com.xvyy.tingshu.order.adapter
 *
 * @Description:
 * @Author: xvyy
 * @Create: 2025/2/16 - 0:09
 * @Version: v1.0
 */
public interface OrderDealTypeAdapter {
        /**
         *
         * @param dealType 付款类型
         * @return
         */
        Boolean supportOrderDealType(String dealType);

        /**
         * 付款类型适配器方法
         * @param tradeVo
         * @param userId
         * @param itemType
         * @return
         */
        OrderInfoVo adapterOrderDealType(TradeVo tradeVo, Long userId, String itemType);
}
